package com.dormitory.management.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 门禁表
 * </p>
 *
 * @author
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Access对象", description="门禁表")
public class Access implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "门禁id")
    @TableId(value = "id", type = IdType.NONE)
    private Long id;

    @ApiModelProperty(value = "学号")
    private String stuId;

    @ApiModelProperty(value = "刷卡时间")
    private Date swipingTime;

    @ApiModelProperty(value = "刷卡地点")
    private String swipingLocation;

    @ApiModelProperty(value = "刷卡设备编号")
    private String device;


}
